package com.hh.demo.vo;

import com.hh.demo.result.PageList;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author 黄浩
 * @create 2022-07-28 17:17
 */
@Data
@NoArgsConstructor
public class AggrPageList<T> extends PageList<T> {
    private Map<String, List<AggrBucket>> aggResult;

    public AggrPageList(Long total, List<T> rows, Map<String, List<AggrBucket>> aggResult) {
        super(total, rows);
        this.aggResult = aggResult;
    }
}
